package com.young.ysepay.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

import com.young.ysepay.dao.YsWechatpayReceiptDao;
import com.young.ysepay.domain.YsWechatpayReceiptDO;
import com.young.ysepay.service.YsWechatpayReceiptService;



@Service
public class YsWechatpayReceiptServiceImpl implements YsWechatpayReceiptService {
	@Autowired
	private YsWechatpayReceiptDao ysWechatpayReceiptDao;
	
	@Override
	public YsWechatpayReceiptDO get(Integer id){
		return ysWechatpayReceiptDao.get(id);
	}
	
	@Override
	public List<YsWechatpayReceiptDO> list(Map<String, Object> map){
		return ysWechatpayReceiptDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return ysWechatpayReceiptDao.count(map);
	}
	
	@Override
	public int save(YsWechatpayReceiptDO ysWechatpayReceipt){
		return ysWechatpayReceiptDao.save(ysWechatpayReceipt);
	}
	
	@Override
	public int update(YsWechatpayReceiptDO ysWechatpayReceipt){
		return ysWechatpayReceiptDao.update(ysWechatpayReceipt);
	}
	
	@Override
	public int remove(Integer id){
		return ysWechatpayReceiptDao.remove(id);
	}
	
	@Override
	public int batchRemove(Integer[] ids){
		return ysWechatpayReceiptDao.batchRemove(ids);
	}
	
}
